<%@ page language="java" pageEncoding="UTF-8"%>
<%@ include file="../../back-common.jsp"%>
<%@ include file="/WEB-INF/pages/common/taglib.jsp"%>


<%@ taglib uri="http://displaytag.sf.net" prefix="display"%>
<body>
<%Long offset = 1L; %>

	   <table class="${tableclass}" style="width: 100%">
	    <thead>
	    	<tr><th><strong class="am-text-primary am-text-lg">权限管理</strong> /  拥有[${bean.name }]权限的角色列表 </th></tr>
	    </thead>
	    </table>
	    
	  
	 <div align="center">
        <%@ include file="/WEB-INF/pages/common/messages.jsp"%>
        
    <display:table name="list" id="item" export="false" class="${tableclass}" style="width:100%">
      <display:column style="width:70px" title="顺序"><%=offset++%></display:column>
      <display:column title="名称 " property="name"></display:column>
      <display:column title="角色名称 " property="roleType" ></display:column>
      <display:column title="状态">
      <ls:optionGroup type="label" required="true" cache="true"
	                beanName="ENABLED" selectedValue="${item.enabled}" defaultDisp=""/>
      </display:column>
      <display:column title="备注" property="note"></display:column>
    </display:table>
     </div>  
<div align="center"><input class="${btnclass}" type="button" value="返回"  onclick="window.location='${contextPath}/admin/member/right/query'" /></div>

